@(user:models.User)<?xml version="1.0" encoding="utf-8"?>
<user name="@user.name" status="OK">
  <fullname>@user.fullname</fullname>
  <photo>@user.photo</photo>
  @user.det.map( _ =>
  <details>
    <country>_.country</country>
    <livedIn>_.livedIn</livedIn>
    <experience>_.experience</experience>
    <hobbies>_.hobbies</hobbies>
    <toKnow>_.toKnow</toKnow>
    <bestInLife>_.bestInLife</bestInLife>
    <birthday>_.birthday</birthday>
    <registerDate>registerDate</registerDate>
  </details>
  ).getOrElse(<details />)
</user>